rat a;
rat b;
int c;
int d;
bool e;
bool f;

a = 1/2;
b = 3/2;
c = 1;
d = 0;
e = true;
f = false;

si non(a == b)
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si a < b
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si a > b
{
	afficher(0);
}
sinon
{
	afficher(1);
}

si a >= (b - (a+a))
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si a <= b - (a+a)
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si a <> b
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si 3/2 <> 1/2
{
	afficher(1);
}
sinon
{
	afficher(0);
}

3/2 <> 1/2 ? afficher(1) : afficher(0);

si non(c == d)
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si d < c
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si c > d
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si c >= d
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si d <= c
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si a <> b
{
	afficher(1);
}
sinon
{
	afficher(0);
}

si 0 <> 1
{
	afficher(1);
}
sinon
{
	afficher(0);
}
3 <> 1 ? afficher(1) : afficher(0);

si non(e et f)
{
	afficher(1);
}
sinon
{
	afficher(0);
}
si e ou f
{
	afficher(1);
}
sinon
{
	afficher(0);
}
true ou false ? afficher(1) : afficher(0);